import os
import  unittest
from htmltestreport import  HTMLTestReport

from config import BASE_DIR

suite = unittest.defaultTestLoader.discover("./script")
file_path = BASE_DIR + os.sep + "report" +os.sep + "zzh.html"
HTMLTestReport(file_path).run(suite)
